The CDF_LEAPSECONDS_INFO function returns a structure containing information about the leap seconds used by CDF.
Result = CDF_LEAPSECONDS_INFO( )
The returned structure has the form:
{ USE_FILE: 1, CDF_LEAPSECONDSTABLE:"...", $
LASTUPDATED:LONARR(...), LEAPSECONDS: DOUBLEARR(...)}
Structure Tag | Description |
---|---|
USE_FILE |
0 - The leap seconds are based on the hard-coded table in the CDF library, which may not have the latest leap second(s) if the library is not up-to-date. 1 - The leap seconds are read from a file. |
CDF_LEAPSECONDSTABLE | This field contains the value of the CDF_LEAPSECONDSTABLE environment variable, if it is defined. Its value should be the file name of the leap seconds table. Data contents for the leap seconds should be properly formatted to be valid for use. |
LASTUPDATED | This field is an array of integers that shows the last date, in year, month and day, that the leap seconds table is updated, which can show whether the table is up-to-date. |
LEAPSECONDS | This field contains the contents of the leap seconds table that is used by CDF library. |
None
None
info = CDF_LEAPSECONDS_INFO()
help, info, /struct
print, info
CDF 3.4.0 |
Introduced |